
<?php
if (isset($_POST["tijiao"]))
{
    $se=$_POST["select"];

    switch ($se)
    {
        case "1111":
            echo 1111;
            break;
        case" 2222":
            echo 1111;
            break;
        case "3333":
            echo 1111;
            break;
        case "4444":
            echo 1111;
            break;
        default:
            echo "HHHHH";
            break;

    }
}
?>
<form action="" method="post">
    <select name="select">
        <option selected="selected" value="1111">
            1111
        </option >
        <option value="2222">
            2222
        </option >
        <option value="3333">
            3333
        </option>
        <option value="4444">
            4444
        </option>
    </select>
    <input type="submit" value="tijiao" name="tj">
</form>

<?php
$sum=0;
for($i=1;$i<=100;$i++)
{
    $sum+=$i;
}
echo $sum;
$j=1;
$s=0;
while($j<=100)
{

    $s+=$j;
    $j++;
}
$su=0;
$x=1;
do
{
    $su+=$x;
    $x++;
}while($x<=100)

?>

